package org.shangrila.app.sys.mb;

import java.io.Serializable;

public class OrganNodeData implements Serializable{

	private static final long serialVersionUID = 1L;
	private long orgid; //orgId
	private String name; //deptName/username
	private String dtype; //deptType
	private String dactive; //active
	private long userid; //userid
	
	public OrganNodeData(){

	}
	public OrganNodeData(long orgid,String name,String dtype,String dactive,long userid){
		this.orgid = orgid;
		this.name = name;
		this.dtype = dtype;
		this.dactive = dactive;
		this.userid = userid;
	}
	public long getOrgid() {
		return orgid;
	}
	public void setOrgid(long orgid) {
		this.orgid = orgid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public long getUserid() {
		return userid;
	}
	public void setUserid(long userid) {
		this.userid = userid;
	}
	
	public String toString(){
		return this.getOrgid()+"|"+this.getName()+"|"+this.getUserid();
	}

	public String getDtype() {
		return dtype;
	}
	public void setDtype(String dtype) {
		this.dtype = dtype;
	}
	public String getDactive() {
		return dactive;
	}
	public void setDactive(String dactive) {
		this.dactive = dactive;
	}
	
}